package com.fly.swt.launch;

import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Shell;

public class ImageShell extends Shell
{
    /**
     * Create the shell.
     * 
     * @param display
     */
    public ImageShell(Shell shell)
    {
        super(shell.getDisplay(), SWT.NONE);
        createContents();
    }
    
    /**
     * Create contents of the shell.
     */
    protected void createContents()
    {
        setText("SWT Application");
    }
    
    @Override
    protected void checkSubclass()
    {
        // Disable the check that prevents subclassing of SWT components
    }
}
